package com.excel.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 供需对接-数据项表
 *
 * @author Walt
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataitemEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 数据项名称
     */
    @Excel(name = "包含的数据项（每个数据项需单行填写）",needMerge = true, width = 30)
    private String name;

    /**
     * 数源部门Ids
     */
    @ExcelCollection(name = "备注")
    private List<String> sdepts;

    /**
     * 备注内容
     */
    @Excel(name = "备注")
    private String remark;

}
